﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TXK
{
    interface IScoket
    {
        #region 属性
        /// <summary>
        /// 是否是第一次连接
        /// </summary>
        bool FirstConnect { get; set; }
        /// <summary>
        /// IP地址
        /// </summary>
        string IP { get; set; }
        /// <summary>
        /// 端口号
        /// </summary>
        string Port { get; set; }
        /// <summary>
        /// 设备名
        /// </summary>
        string Name { get; set; }
        /// <summary>
        /// 设备描述
        /// </summary>
        string Description { get; set; }
        #endregion
        /// <summary>
        /// 启动设备
        /// </summary>
        void Start();

    }
}
